import request from "@/utils/request";
import { AxiosPromise } from "axios";
import { AssessmentVO } from "./types";
import { DiseaseTypeQuery } from "../disease-type/types";

/**
 * 获取问题分页
 * @param queryParams
 */
export function listAssessmentSetting(
  queryParams?: DiseaseTypeQuery
): AxiosPromise<AssessmentVO[]> {
  return request({
    url: "buss/assessment/list",
    method: "get",
    params: queryParams,
  });
}
